home *** CD-ROM | disk | FTP | other *** search
/ MacFormat UK 76 / MF_UK_76_1.iso / Education Feature / MicroWorlds 2.03 Try Me / MicroWorlds 2.03 Try Me.rsrc / TEXT_738_textitem.txt < prev    next >
Encoding:
Text File  |  1998-05-08  |  631 b   |  18 lines

  1. textitem line-number text-box-name 
  2.  
  3. Reports the designated "line" of the named text box. Lines are delimited by carriage returns (they are logical lines, not physical lines). Empty lines are taken into account but not carriage returns at the end of the text. The first input must be between 1 and the number of lines in the text box. The line reported by textitem is a long word (a sequence of characters including spaces). Use parse to turn a long word into a list. See textcount.
  4.  
  5. Examples:
  6.  
  7. If you have this text box on the page:
  8.  
  9. Lucy
  10. Kim
  11. Jean Pierre
  12. Plato's cat
  13.  
  14. show textitem 2 "text1
  15. Kim
  16. show textitem 4 "text1
  17. Plato's cat
  18.